object Form6: TForm6
  Left = 0
  Top = 0
  Caption = #21830#21697#20449#24687
  ClientHeight = 541
  ClientWidth = 1050
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Visible = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object dxLayoutControl1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 1050
    Height = 541
    Align = alClient
    TabOrder = 0
    AutoSize = True
    object EditID: TEdit
      Left = 53
      Top = 12
      Width = 83
      Height = 21
      BorderStyle = bsNone
      TabOrder = 0
    end
    object EditName: TEdit
      Left = 187
      Top = 12
      Width = 115
      Height = 21
      BorderStyle = bsNone
      TabOrder = 1
    end
    object EditShortName: TEdit
      Left = 353
      Top = 12
      Width = 87
      Height = 21
      BorderStyle = bsNone
      TabOrder = 2
    end
    object EditBarcode: TEdit
      Left = 503
      Top = 12
      Width = 121
      Height = 21
      BorderStyle = bsNone
      TabOrder = 3
    end
    object ButtonQuery: TButton
      Left = 632
      Top = 10
      Width = 75
      Height = 25
      Caption = #26597#35810
      TabOrder = 4
      OnClick = ButtonQueryClick
    end
    object cxGrid1: TcxGrid
      Left = 10
      Top = 41
      Width = 1032
      Height = 480
      Align = alClient
      TabOrder = 8
      object cxGrid1DBTableView1: TcxGridDBTableView
        DataController.DataSource = UniDataSourceProducts
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        object cxGrid1DBTableView1ProductID: TcxGridDBColumn
          Caption = #21830#21697#32534#21495
          DataBinding.FieldName = 'ProductID'
          Options.Editing = False
        end
        object cxGrid1DBTableView1Name: TcxGridDBColumn
          Caption = #21830#21697#21517#31216'*'
          DataBinding.FieldName = 'Name'
          Width = 170
        end
        object cxGrid1DBTableView1ShortName: TcxGridDBColumn
          Caption = #31616#31216'*'
          DataBinding.FieldName = 'ShortName'
          Width = 86
        end
        object cxGrid1DBTableView1Category: TcxGridDBColumn
          Caption = #31867#21035'*'
          DataBinding.FieldName = 'Category'
          PropertiesClassName = 'TcxLookupComboBoxProperties'
          Properties.DropDownAutoSize = True
          Properties.DropDownSizeable = True
          Properties.KeyFieldNames = 'ProductCategoryID'
          Properties.ListColumns = <
            item
              Caption = #21517#31216
              Width = 100
              FieldName = 'Name'
            end
            item
              Caption = #22791#27880
              Width = 200
              FieldName = 'Remark'
            end>
          Properties.ListSource = UniDataSourceCategories
          Width = 71
        end
        object cxGrid1DBTableView1MeasurementUnit: TcxGridDBColumn
          Caption = #35745#37327#21333#20301'*'
          DataBinding.FieldName = 'MeasurementUnit'
          PropertiesClassName = 'TcxLookupComboBoxProperties'
          Properties.DropDownAutoSize = True
          Properties.DropDownSizeable = True
          Properties.KeyFieldNames = 'MeasurementUnitsID'
          Properties.ListColumns = <
            item
              Caption = #21517#31216
              Width = 100
              FieldName = 'Name'
            end
            item
              Caption = #22791#27880
              Width = 200
              FieldName = 'Remark'
            end>
          Properties.ListSource = UniDataSourceMeasurementUnits
          Width = 82
        end
        object cxGrid1DBTableView1Specification: TcxGridDBColumn
          Caption = #35268#26684
          DataBinding.FieldName = 'Specification'
          PropertiesClassName = 'TcxLookupComboBoxProperties'
          Properties.DropDownAutoSize = True
          Properties.DropDownSizeable = True
          Properties.KeyFieldNames = 'ProductSpecificationID'
          Properties.ListColumns = <
            item
              Caption = #21517#31216
              Width = 100
              FieldName = 'Name'
            end
            item
              Caption = #22791#27880
              Width = 200
              FieldName = 'Remark'
            end>
          Properties.ListSource = UniDataSourceSpecifications
          Width = 80
        end
        object cxGrid1DBTableView1DefaultWarehouse: TcxGridDBColumn
          Caption = #40664#35748#20179#24211
          DataBinding.FieldName = 'DefaultWarehouse'
          PropertiesClassName = 'TcxLookupComboBoxProperties'
          Properties.DropDownAutoSize = True
          Properties.DropDownSizeable = True
          Properties.KeyFieldNames = 'WarehouseID'
          Properties.ListColumns = <
            item
              Caption = #21517#31216
              Width = 100
              FieldName = 'Name'
            end
            item
              Caption = #22320#22336
              Width = 200
              FieldName = 'Address'
            end>
          Properties.ListSource = UniDataSourceWarehouses
          Width = 93
        end
        object cxGrid1DBTableView1Producer: TcxGridDBColumn
          Caption = #29983#20135#21830
          DataBinding.FieldName = 'Producer'
          PropertiesClassName = 'TcxLookupComboBoxProperties'
          Properties.DropDownAutoSize = True
          Properties.DropDownSizeable = True
          Properties.KeyFieldNames = 'ProducerID'
          Properties.ListColumns = <
            item
              Caption = #21517#31216
              Width = 100
              FieldName = 'Name'
            end
            item
              Caption = #22320#22336
              Width = 200
              FieldName = 'Address'
            end>
          Properties.ListSource = UniDataSourceProducers
          Width = 120
        end
        object cxGrid1DBTableView1Barcode: TcxGridDBColumn
          Caption = #26465#24418#30721
          DataBinding.FieldName = 'Barcode'
          Width = 119
        end
        object cxGrid1DBTableView1Remark: TcxGridDBColumn
          Caption = #22791#27880
          DataBinding.FieldName = 'Remark'
          Width = 210
        end
      end
      object cxGrid1Level1: TcxGridLevel
        GridView = cxGrid1DBTableView1
      end
    end
    object DBNavigator1: TDBNavigator
      Left = 870
      Top = 10
      Width = 250
      Height = 25
      DataSource = UniDataSourceProducts
      Kind = dbnHorizontal
      ParentShowHint = False
      ShowHint = True
      TabOrder = 7
    end
    object CheckBoxModify: TCheckBox
      Left = 794
      Top = 10
      Width = 70
      Height = 25
      Caption = #32534#36753#27169#24335
      TabOrder = 6
      OnClick = CheckBoxModifyClick
    end
    object ButtonExport: TButton
      Left = 713
      Top = 10
      Width = 75
      Height = 25
      Caption = #23548#20986
      TabOrder = 5
      OnClick = ButtonExportClick
    end
    object dxLayoutControl1Group_Root: TdxLayoutGroup
      AlignHorz = ahClient
      AlignVert = avClient
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = -1
    end
    object dxLayoutControl1Group1: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'Hidden Group'
      Parent = dxLayoutControl1Group_Root
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 0
    end
    object dxLayoutControl1Item1: TdxLayoutItem
      CaptionOptions.Text = #32534#21495#65306
      Parent = dxLayoutControl1Group1
      Control = EditID
      Index = 0
    end
    object dxLayoutControl1Item2: TdxLayoutItem
      CaptionOptions.Text = #21517#31216#65306
      Parent = dxLayoutControl1Group1
      Control = EditName
      Index = 1
    end
    object dxLayoutControl1Item3: TdxLayoutItem
      CaptionOptions.Text = #31616#31216#65306
      Parent = dxLayoutControl1Group1
      Control = EditShortName
      Index = 2
    end
    object dxLayoutControl1Item4: TdxLayoutItem
      CaptionOptions.Text = #26465#24418#30721#65306
      Parent = dxLayoutControl1Group1
      Control = EditBarcode
      Index = 3
    end
    object dxLayoutControl1Item5: TdxLayoutItem
      CaptionOptions.Text = 'ButtonQuery'
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group1
      Control = ButtonQuery
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object dxLayoutControl1Item8: TdxLayoutItem
      AlignHorz = ahClient
      AlignVert = avClient
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group_Root
      Control = cxGrid1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object dxLayoutControl1Item10: TdxLayoutItem
      CaptionOptions.Text = 'DBNavigator1'
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group1
      Control = DBNavigator1
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 7
    end
    object dxLayoutControl1Item7: TdxLayoutItem
      CaptionOptions.Text = 'CheckBox1'
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group1
      Control = CheckBoxModify
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 6
    end
    object dxLayoutControl1Item6: TdxLayoutItem
      CaptionOptions.Text = 'Button1'
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group1
      Control = ButtonExport
      ControlOptions.ShowBorder = False
      Index = 5
    end
  end
  object UniDataSourceProducts: TUniDataSource
    DataSet = UniQueryProducts
    Left = 224
    Top = 128
  end
  object UniQueryProducts: TUniQuery
    Connection = DataModule1.UniConnection1
    SQL.Strings = (
      'select * from Products')
    ReadOnly = True
    Left = 40
    Top = 128
  end
  object UniTableProducers: TUniTable
    TableName = 'Producers'
    Connection = DataModule1.UniConnection1
    Left = 40
    Top = 376
  end
  object UniDataSourceProducers: TUniDataSource
    DataSet = UniTableProducers
    Left = 216
    Top = 376
  end
  object UniTableSpecifications: TUniTable
    TableName = 'ProductSpecifications'
    ReadOnly = True
    Connection = DataModule1.UniConnection1
    Left = 40
    Top = 184
  end
  object UniDataSourceSpecifications: TUniDataSource
    DataSet = UniTableSpecifications
    Left = 224
    Top = 184
  end
  object UniTableWarehouses: TUniTable
    TableName = 'Warehouses'
    Connection = DataModule1.UniConnection1
    Left = 40
    Top = 232
  end
  object UniDataSourceWarehouses: TUniDataSource
    DataSet = UniTableWarehouses
    Left = 224
    Top = 232
  end
  object UniTableMeasurementUnits: TUniTable
    TableName = 'MeasurementUnits'
    Connection = DataModule1.UniConnection1
    Left = 40
    Top = 280
  end
  object UniDataSourceMeasurementUnits: TUniDataSource
    DataSet = UniTableMeasurementUnits
    Left = 224
    Top = 280
  end
  object UniTableCategories: TUniTable
    TableName = 'ProductCategories'
    Connection = DataModule1.UniConnection1
    Left = 40
    Top = 328
  end
  object UniDataSourceCategories: TUniDataSource
    DataSet = UniTableCategories
    Left = 216
    Top = 328
  end
  object ActionList1: TActionList
    Left = 552
    Top = 216
    object ActionEsc: TAction
      Caption = 'ActionEsc'
      ShortCut = 27
      OnExecute = ActionEscExecute
    end
  end
  object SaveDialog1: TSaveDialog
    Filter = 'Excel|*.xls|Text|*.txt|HTML|*.htm|XML|*.xml'
    Title = #23548#20986
    Left = 648
    Top = 216
  end
end
